<?php
/**
 * Default Home Page Controller 
 */
class IndexController extends Zend_Controller_Action
{
	/**
	 * @var Zend_Config_Ini 
	 */
	private $api_config;
	/**
	 * Initialize 
	 */
	public function init(){
		$this->api_config = Zend_Registry::get("api_keys");
		//$this->_helper->layout->disableLayout();
		$this->_helper->viewRenderer->setNoRender();
	}

	/**
	 * Default Start Action
	 */
	public function indexAction(){
		$this->view->api_key = $this->api_config->google->jsapi->api_key;
		$this->render('index');
	}
	
	public function infoAction(){
		phpinfo();
	}

}

